#!/bin/sh

hasConnect=`iwconfig wlan1 | grep Frequency`
hasIP=`route | grep wlan1`


if [ -n "$hasIP" ] && [ -n "$hasConnect" ]; then
	touch /tmp/client_is_connected
fi
